/**
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

body {
    background: #fafafa;
    font-family: 'Arial';
}

img {
    display:block;
}

.flex-wrapper {
    display: flex;
    flex-direction: row;
}

.img-block {
    border-right: 1px solid #aaaaaa;
    margin-right: 8px;
    margin-top: 10px;
    padding-right: 8px;
}

.img-wrapper {
    background-image: url("background.png");
    margin-top: 5px;
    position: relative;
}

.img-wrapper.dark {
    background-image: url("background_dark.png");
}

.hierarchy-overlay {
    position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    display: none;
}

.hierarchy-node {
    position: absolute;
    display: block;
    border: 2px solid #000;
}

.hierarchy-node.highlight {
    background-color: rgba(20, 20, 128, 0.5);
    border-color: #00f;
}

.command-wrapper {
    margin-top: 16px;
    flex-grow: 1;
    overflow: auto;
}

.view-hierarchy {
    background: #ddd;
    padding: 16px;
    max-height: 750px;
    overflow: auto;
    border-radius: 3px;
}

div.screenshot {
    padding: 10px;
}

div.alternate {

}

div.screenshot_error {
    color: red;
}

table {
    border-collapse: collapse;
}

table, th, tr, td, img{
    padding: 0;
    margin: 0;
    border: 0;
}

table {
    border-spacing: 0;
    border-collapse: collapse;
}

.screenshot_name {
    font-size: 24px;
}

.screenshot_name .demphasize {
    color: #999;
}

.screenshot_description {
    color: #999;
    font-style: italic;
}

button {
    border: 1px solid #000;
    border-radius: 3px;
    background-color: #fff;
    padding: 16px;
    font-size: 18px;
    margin-right: 8px;
}

button:hover {
    background-color: #000;
    color: #fff;
    cursor: pointer;
}

.clearfix {
    display: block;
    clear: both;
    content: "";
}

hr {
    border: 0;
    height: 1px;
    background-color: #000;
    margin: 16px 0;
}

h3 {
    font-weight: normal;
}

details {
    margin-left: 24px;
}

summary {
    font-size: 16px;
}

ul {
    list-style: none;
    margin: 0;
    margin-bottom: 8px;
}
